//
//  RestaurantDetailParser.h
//  RegBars
//
//  Created by Huu Nhat on 7/28/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RestaurantDetail.h"

@protocol RestaurantDetailParserDelegate <NSObject>
- (void)didEndGetRestaurantsDetail:(NSMutableDictionary *)Dict;
@end

@interface RestaurantDetailParser : NSObject<NSXMLParserDelegate>{
//	RestaurantDetail *restaurantDetail;
	NSObject <RestaurantDetailParserDelegate>* delegate;
	NSMutableData *resultData;
    NSURLConnection *theConnection;
    NSMutableDictionary *resDetailDict;
}

@property (nonatomic, retain) NSMutableData *resultData;
@property (nonatomic, retain) NSMutableDictionary *resDetailDict;
@property (nonatomic, retain) NSObject <RestaurantDetailParserDelegate>* delegate;

- (void)loadRestaurantList:(NSString *)url withDelegate:(id)aDelegate;

@end
